package stats

import (
	"github.com/eyotang/boomer"
)

func RecordFailure(requestType, name string, responseTime int64, exception string) {
	//python中request表示总数，go中表示成功数，为了同步这个数据，统一成总数
	boomer.RecordFailure(requestType, name+"_fail", responseTime, exception)
}

func RecordSuccess(requestType, name string, responseTime int64, responseLength int64) {
	boomer.RecordSuccess(requestType, name, responseTime, responseLength)
}
